package com.example.sj.baseapplication;

import android.support.v7.app.AppCompatActivity;

import com.alibaba.android.arouter.launcher.ARouter;

/**
 * Created by SJ on 2018/4/17.
 */

public class RouteUtils {
    public static final String FM_Activity_Main = "/filemanage/main";
    public static final String Home_Activity_Main = "/home/main";
    public static AppCompatActivity toFMActivityMain(){
        return  (AppCompatActivity)ARouter.getInstance().build(RouteUtils.FM_Activity_Main).navigation();
    }
    public static AppCompatActivity toHomeActivityMain(){
        return  (AppCompatActivity)ARouter.getInstance().build(RouteUtils.Home_Activity_Main).navigation();
    }

}
